import time
from selenium.webdriver.common.by import By
from selenium import webdriver

driver=webdriver.Chrome()
time.sleep(3)

driver.get('https://www.baidu.com/')
time.sleep(2)
driver.find_element(By.LINK_TEXT,'新闻').click()
time.sleep(3)
driver.switch_to.window(driver.window_handles[-1])
time.sleep(3)
driver.find_element(By.PARTIAL_LINK_TEXT,'因地制宜').click()
time.sleep(3)